package com.teama4.shop.domain;

public class CommoditySpecification{


    private Integer storeId;


    private String name;


    private Integer catetoryId;


    private Integer viewCount;


    private Integer searchCount;
    private Integer bayCount;
    private Integer evaluateCount;
    private String date;

    private String comPicture;


    private Double comPrice;


    private String description;

    private Integer specificationId;

    private Integer commodityId;


    private String typeName;


    private String picLink;


    private Double price;


    private Double freight;

    private String shippingMethod;


    private Integer inventory;
    private Double evaluateScore;

    private Integer commodityCount;

    //0：未评价 1：已评价
    private Integer isEvaluate = 0;

    private String buyTime;

    private Integer beBuyCount;

    public CommoditySpecification(){

    }
    public CommoditySpecification(Integer storeId, String name, Integer catetoryId, Integer viewCount, Integer searchCount, Integer bayCount, Integer evaluateCount, String date, String comPicture, Double comPrice, String description, Integer specificationId, Integer commodityId, String typeName, String picLink, Double price, Double freight, String shippingMethod, Integer inventory, Double evaluateScore) {
        this.storeId = storeId;
        this.name = name;
        this.catetoryId = catetoryId;
        this.viewCount = viewCount;
        this.searchCount = searchCount;
        this.bayCount = bayCount;
        this.evaluateCount = evaluateCount;
        this.date = date;
        this.comPicture = comPicture;
        this.comPrice = comPrice;
        this.description = description;
        this.specificationId = specificationId;
        this.commodityId = commodityId;
        this.typeName = typeName;
        this.picLink = picLink;
        this.price = price;
        this.freight = freight;
        this.shippingMethod = shippingMethod;
        this.inventory = inventory;
        this.evaluateScore = evaluateScore;
    }
    public CommoditySpecification(CommoditySpecification commoditySpecification){
        this.storeId = commoditySpecification.getStoreId();
        this.name = commoditySpecification.getName();
        this.catetoryId = commoditySpecification.getCatetoryId();
        this.viewCount = commoditySpecification.getViewCount();
        this.searchCount = commoditySpecification.getSearchCount();
        this.bayCount = commoditySpecification.getBayCount();
        this.evaluateCount = commoditySpecification.getEvaluateCount();
        this.date = commoditySpecification.getDate();
        this.comPicture = commoditySpecification.getComPicture();
        this.comPrice = commoditySpecification.getComPrice();
        this.description = commoditySpecification.getDescription();
        this.specificationId = commoditySpecification.getSpecificationId();
        this.commodityId = commoditySpecification.getCommodityId();
        this.typeName = commoditySpecification.getTypeName();
        this.picLink = commoditySpecification.getPicLink();
        this.price = commoditySpecification.getPrice();
        this.freight = commoditySpecification.getFreight();
        this.shippingMethod = commoditySpecification.getShippingMethod();
        this.inventory = commoditySpecification.getInventory();
        this.evaluateScore = commoditySpecification.getEvaluateScore();
    }

    public void setCommoditySpecification(CommoditySpecification commoditySpecification){
        this.storeId = commoditySpecification.getStoreId();
        this.name = commoditySpecification.getName();
        this.catetoryId = commoditySpecification.getCatetoryId();
        this.viewCount = commoditySpecification.getViewCount();
        this.searchCount = commoditySpecification.getSearchCount();
        this.bayCount = commoditySpecification.getBayCount();
        this.evaluateCount = commoditySpecification.getEvaluateCount();
        this.date = commoditySpecification.getDate();
        this.comPicture = commoditySpecification.getComPicture();
        this.comPrice = commoditySpecification.getComPrice();
        this.description = commoditySpecification.getDescription();
        this.specificationId = commoditySpecification.getSpecificationId();
        this.commodityId = commoditySpecification.getCommodityId();
        this.typeName = commoditySpecification.getTypeName();
        this.picLink = commoditySpecification.getPicLink();
        this.price = commoditySpecification.getPrice();
        this.freight = commoditySpecification.getFreight();
        this.shippingMethod = commoditySpecification.getShippingMethod();
        this.inventory = commoditySpecification.getInventory();
        this.evaluateScore = commoditySpecification.getEvaluateScore();
    }

    public Integer getBeBuyCount() {
        return beBuyCount;
    }

    public void setBeBuyCount(Integer beBuyCount) {
        this.beBuyCount = beBuyCount;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCatetoryId() {
        return catetoryId;
    }

    public void setCatetoryId(Integer catetoryId) {
        this.catetoryId = catetoryId;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    public Integer getSearchCount() {
        return searchCount;
    }

    public void setSearchCount(Integer searchCount) {
        this.searchCount = searchCount;
    }

    public Integer getBayCount() {
        return bayCount;
    }

    public void setBayCount(Integer bayCount) {
        this.bayCount = bayCount;
    }

    public Integer getEvaluateCount() {
        return evaluateCount;
    }

    public void setEvaluateCount(Integer evaluateCount) {
        this.evaluateCount = evaluateCount;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getComPicture() {
        return comPicture;
    }

    public void setComPicture(String comPicture) {
        this.comPicture = comPicture;
    }

    public Double getComPrice() {
        return comPrice;
    }

    public void setComPrice(Double comPrice) {
        this.comPrice = comPrice;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getSpecificationId() {
        return specificationId;
    }

    public void setSpecificationId(Integer specificationId) {
        this.specificationId = specificationId;
    }

    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getPicLink() {
        return picLink;
    }

    public void setPicLink(String picLink) {
        this.picLink = picLink;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getFreight() {
        return freight;
    }

    public void setFreight(Double freight) {
        this.freight = freight;
    }

    public String getShippingMethod() {
        return shippingMethod;
    }

    public void setShippingMethod(String shippingMethod) {
        this.shippingMethod = shippingMethod;
    }

    public Integer getInventory() {
        return inventory;
    }

    public void setInventory(Integer inventory) {
        this.inventory = inventory;
    }

    public Double getEvaluateScore() {
        return evaluateScore;
    }

    public void setEvaluateScore(Double evaluateScore) {
        this.evaluateScore = evaluateScore;
    }

    public Integer getCommodityCount() {
        return commodityCount;
    }

    public void setCommodityCount(Integer commodityCount) {
        this.commodityCount = commodityCount;
    }

    public Integer getIsEvaluate() {
        return isEvaluate;
    }

    public void setIsEvaluate(Integer isEvaluate) {
        this.isEvaluate = isEvaluate;
    }

    public String getBuyTime() {
        return buyTime;
    }

    public void setBuyTime(String buyTime) {
        this.buyTime = buyTime;
    }


}